package org.testis.wirelesssecuritymodule.data;

import org.testis.data.TestStepDataObject;


/**
 * member variables for wireless security module controller module
 * also getters and setters are implemented
 * @author alperb
 */
public class WirelessSecurityModuleDataObject extends TestStepDataObject
{

    private static final long serialVersionUID = 19826L;
    private String m_paramInterface;
    private String m_wpaDriver;
    private String m_wpaPwd;
    private String m_wpaSsid;
    private String m_wpaProto;
    private String m_connectionState;
    private String m_guid;
    public WirelessSecurityModuleDataObject()
    {
    }


    public WirelessSecurityModuleDataObject(TestStepDataObject data)
    {
        super(data);
    }


    public String getWpaProto()
    {
        return m_wpaProto;
    }


    public void setWpaProto(String m_wpaProto)
    {
        this.m_wpaProto = m_wpaProto;
    }


    public String getWpaSsid()
    {
        return m_wpaSsid;
    }


    public void setWpaSsid(String m_wpaSsid)
    {
        this.m_wpaSsid = m_wpaSsid;
    }


    public String getWpaDriver()
    {
        return m_wpaDriver;
    }


    public void setWpaDriver(String m_wpaDriver)
    {
        this.m_wpaDriver = m_wpaDriver;
    }


    public String getWpaPwd()
    {
        return m_wpaPwd;
    }


    public void setWpaPwd(String m_wpaPwd)
    {
        this.m_wpaPwd = m_wpaPwd;
    }


    public String getParamInterface()
    {
        return m_paramInterface;
    }


    public void setParamInterface(String m_paramInterface)
    {
        this.m_paramInterface = m_paramInterface;
    }


    @Override
    public String toString()
    {
        StringBuilder sb = new StringBuilder();
        sb.append("Executed Wireless Data Object:");
        sb.append("Iface=" + getParamInterface() + "\n");
        sb.append("Driver=" + getWpaDriver() + "\n");
        sb.append("Protocol=" + getWpaProto() + "\n");
        sb.append("Password=" + getWpaPwd() + "\n");
        sb.append("Ssid=" + getWpaSsid() + "\n");
        return sb.toString();
    }

    /**
     * @return the m_connectionState
     */
    public String getConnectionState() {
        return m_connectionState;
    }

    /**
     * @param m_connectionState the m_connectionState to set
     */
    public void setConnectionState(String m_connectionState) {
        this.m_connectionState = m_connectionState;
    }

    /**
     * @return the m_Guid
     */
    public String getNicGuid() {
        return m_guid;
    }

    /**
     * @param m_Guid the m_Guid to set
     */
    public void setNicGuid(String m_Guid) {
        this.m_guid = m_Guid;
    }
}

